package com.bw.heishou.mvp.contract;

import com.bw.heishou.Bean.UserBean;
import com.bw.lib_core.mvp.model.IModel;
import com.bw.lib_core.mvp.view.IView;

import io.reactivex.Observer;

public interface UserContract {
    interface User_Model extends IModel {
        void reg(String url,String user,String pass,Observer<UserBean> observer);
        void log(String url,String user,String pass,Observer<UserBean> observer);
    }
    interface User_View extends IView{
        void regOk(UserBean userBean);
        void logOk(UserBean userBean);
    }
}
